package com.myframe.service.impl;

import javax.annotation.Resource;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.myframe.dao.person.personMapper;
import com.myframe.entity.person.person;
import com.myframe.service.PersonService;

@Service
public class PersonServiceImpl implements PersonService {
    @Resource  
    private personMapper personMapper;  
    @Override
    public void savePerson() {
        person p=new person();
        p.setName("傻逼");
        p.setSex("1");
        personMapper.insert(p);
    }

}
